package _11_整理题目._Spring基础原理._设计模式._03_代理模式._找房子;

public class HouseProxy implements House {
    private House house;

    public HouseProxy(House house) {
        this.house = house;
    }

    @Override
    public void findHouse() {
        System.out.println("日志：找了一个代理");// 非业务代码
        this.house.findHouse();// 委托对象执行业务
    }
}
